<template>
  <div id="nav">
    <router-link to="/home">首页</router-link>
    <router-link to="/singer">歌手</router-link>
    <router-link to="/album">新碟</router-link>
    <router-link to="/toplist">排行榜</router-link>
    <router-link to="/category">分类歌单</router-link>
    <router-link to="/radio">电台</router-link>
    <router-link to="/mvlist">MV</router-link>
    <router-link to="/album_mall">数字专辑</router-link>
  </div>
  <router-view />
  <!-- <Footer /> -->
</template>

<script>
import Footer from "@/components/footer.vue";
export default {
  name: "App",
  components: {
    Footer,
  },
};
</script>

<style lang="less">
body {
  padding: 0;
  border: 0;
  margin: 0;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  width: 100%;
  padding: 0;
  font-size: 14px;
}

#app > div {
  min-width: 1000px;
  margin: 0 auto;
}
#nav {
  padding: 30px;
  display: flex;
  width: 80%;
  margin: 0 auto;
  margin-bottom: 20px !important;
  a {
    flex: 1;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
